<template>
  <div>
    <div class="item-info">
      <div
        :class="['single-item', item.flag ? 'active-item' : '']"
        v-for="(item, index) in singleItemList"
        :key="index"
      >
        <div>{{ item.name }}</div>
        <div class="item-logo">
          <img :src="item.logo" alt="" />
        </div>
      </div>
      <div class="single-item-info">
        <div class="info-line1">
          <div>{{ gameTitle }}</div>
          <div class="venue">{{ venueName }}</div>
        </div>
        <div class="info-line2">
          <div class="report-name">成绩公告</div>
          <div>{{ gameTime }}</div>
        </div>
      </div>
    </div>
    <div class="game-table-data">
      <el-table :data="resultList" style="width: 100%">
        <el-table-column
          prop="Ranking"
          label="排名"
          header-align="center"
          align="center"
        ></el-table-column>
        <el-table-column prop="Team_" label="号码"> </el-table-column>
        <el-table-column label="姓名" prop="Name_" min-width="130%"> </el-table-column>
        <el-table-column prop="Gain" label="MP"></el-table-column>
        <el-table-column prop="Penalty" label="百分比"></el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  created() {
    this.venueName = this.$route.query.venueName
    this.gameTime = this.$route.query.gameTime
    this.gameTitle = this.$route.query.gameTitle
  },
  props: {},
  data() {
    return {
      venueName: '',
      gameTime: '',
      gameTitle: '',
      resultList: [
        {
          Group: 'A1-NS',
          Team: '8',
          Name: '梁於河-杨玉娟',
          Note: null,
          Ranking: '1',
          Team_: '7',
          Name_: '李丽璇 - 沈冠宇',
          Gain: '291',
          Penalty: '64.96%'
        },
        {
          Group: 'A1-EW',
          Team: '1',
          Name: '朱萍-朱敏荣',
          Note: null,
          Ranking: '2',
          Team_: '18',
          Name_: '张亚兰 - 马智威',
          Gain: '284',
          Penalty: '63.39%'
        },
        {
          Group: 'A2-NS',
          Team: '7',
          Name: '李丽璇-沈冠宇',
          Note: null,
          Ranking: '3',
          Team_: '34',
          Name_: '郑勇 - 肖黛菁',
          Gain: '278.8',
          Penalty: '62.24%'
        },
        {
          Group: 'A2-EW',
          Team: '2',
          Name: '张永革-吴志凌',
          Note: null,
          Ranking: '4',
          Team_: '31',
          Name_: '邓萍 - 张浩',
          Gain: '267.2',
          Penalty: '59.64%'
        },
        {
          Group: 'A3-NS',
          Team: '6',
          Name: '赵景莉-蔡中至',
          Note: null,
          Ranking: '5',
          Team_: '28',
          Name_: '李欣 - 吴中华',
          Gain: '263',
          Penalty: '58.71%'
        },
        {
          Group: 'A3-EW',
          Team: '3',
          Name: '赵屹涛-郝睿',
          Note: null,
          Ranking: '6',
          Team_: '37',
          Name_: '鲍卓强 - 汪慧君',
          Gain: '261.3',
          Penalty: '58.33%'
        },
        {
          Group: 'A4-NS',
          Team: '4',
          Name: '张志芬-邹德峰',
          Note: null,
          Ranking: '7',
          Team_: '32',
          Name_: '朱德明 - 德吉措姆',
          Gain: '260.2',
          Penalty: '58.07%'
        },
        {
          Group: 'A4-EW',
          Team: '5',
          Name: '刘洪文-柴俊阳',
          Note: null,
          Ranking: '8',
          Team_: '6',
          Name_: '赵景莉 - 蔡中至',
          Gain: '250',
          Penalty: '55.80%'
        },
        {
          Group: 'B1-NS',
          Team: '18',
          Name: '张亚兰-马智威',
          Note: null,
          Ranking: '9',
          Team_: '33',
          Name_: '杨文瑜 - 符正平',
          Gain: '243.8',
          Penalty: '54.43%'
        },
        {
          Group: 'B1-EW',
          Team: '11',
          Name: '徐莉-田伟强',
          Note: null,
          Ranking: '10',
          Team_: '40',
          Name_: '陈朗 - 叶宝辉',
          Gain: '242',
          Penalty: '54.02%'
        },
        {
          Group: 'B2-NS',
          Team: '17',
          Name: '余修婷-余明泉',
          Note: null,
          Ranking: '11',
          Team_: '14',
          Name_: '文静 - 郑一心',
          Gain: '241',
          Penalty: '53.79%'
        },
        {
          Group: 'B2-EW',
          Team: '12',
          Name: '李立-冉红',
          Note: null,
          Ranking: '11',
          Team_: '8',
          Name_: '梁於河 - 杨玉娟',
          Gain: '241',
          Penalty: '53.79%'
        },
        {
          Group: 'B3-NS',
          Team: '16',
          Name: '陈萍-李杰',
          Note: null,
          Ranking: '13',
          Team_: '26',
          Name_: '李军 - 杜平',
          Gain: '240',
          Penalty: '53.57%'
        },
        {
          Group: 'B3-EW',
          Team: '13',
          Name: '李维虎-梁雅莉',
          Note: null,
          Ranking: '14',
          Team_: '25',
          Name_: '王大德 - 杜冰',
          Gain: '238',
          Penalty: '53.13%'
        },
        {
          Group: 'B4-NS',
          Team: '14',
          Name: '文静-郑一心',
          Note: null,
          Ranking: '14',
          Team_: '35',
          Name_: '刘钧 - 张敏',
          Gain: '238',
          Penalty: '53.13%'
        },
        {
          Group: 'B4-EW',
          Team: '15',
          Name: '孙时玉-周飞卫',
          Note: null,
          Ranking: '16',
          Team_: '23',
          Name_: '赵东坡 - 陈小娟',
          Gain: '236',
          Penalty: '52.68%'
        },
        {
          Group: 'C1-NS',
          Team: '28',
          Name: '李欣-吴中华',
          Note: null,
          Ranking: '17',
          Team_: '3',
          Name_: '赵屹涛 - 郝睿',
          Gain: '228',
          Penalty: '50.89%'
        },
        {
          Group: 'C1-EW',
          Team: '21',
          Name: '杜健-厉民',
          Note: null,
          Ranking: '17',
          Team_: '15',
          Name_: '孙时玉 - 周飞卫',
          Gain: '228',
          Penalty: '50.89%'
        },
        {
          Group: 'C2-NS',
          Team: '27',
          Name: '陈兆滨-籍之彦',
          Note: null,
          Ranking: '19',
          Team_: '21',
          Name_: '杜健 - 厉民',
          Gain: '221',
          Penalty: '49.33%'
        },
        {
          Group: 'C2-EW',
          Team: '22',
          Name: '刘占学-李晓昕',
          Note: null,
          Ranking: '19',
          Team_: '1',
          Name_: '朱萍 - 朱敏荣',
          Gain: '221',
          Penalty: '49.33%'
        },
        {
          Group: 'C3-NS',
          Team: '26',
          Name: '李军-杜平',
          Note: null,
          Ranking: '21',
          Team_: '13',
          Name_: '李维虎 - 梁雅莉',
          Gain: '218',
          Penalty: '48.66%'
        },
        {
          Group: 'C3-EW',
          Team: '23',
          Name: '赵东坡-陈小娟',
          Note: null,
          Ranking: '22',
          Team_: '16',
          Name_: '陈萍 - 李杰',
          Gain: '218',
          Penalty: '48.66%'
        },
        {
          Group: 'C4-NS',
          Team: '24',
          Name: '章瑜-赵杰',
          Note: null,
          Ranking: '23',
          Team_: '11',
          Name_: '徐莉 - 田伟强',
          Gain: '214',
          Penalty: '47.77%'
        },
        {
          Group: 'C4-EW',
          Team: '25',
          Name: '王大德-杜冰',
          Note: null,
          Ranking: '24',
          Team_: '17',
          Name_: '余修婷 - 余明泉',
          Gain: '212',
          Penalty: '47.32%'
        },
        {
          Group: 'D1-EW',
          Team: '31',
          Name: '邓萍-张浩',
          Note: null,
          Ranking: '25',
          Team_: '27',
          Name_: '陈兆滨 - 籍之彦',
          Gain: '210',
          Penalty: '46.88%'
        },
        {
          Group: 'D2-NS',
          Team: '41',
          Name: '姚江涛-杨铭枢',
          Note: null,
          Ranking: '26',
          Team_: '22',
          Name_: '刘占学 - 李晓昕',
          Gain: '205',
          Penalty: '45.76%'
        },
        {
          Group: 'D2-EW',
          Team: '32',
          Name: '朱德明-德吉措姆',
          Note: null,
          Ranking: '27',
          Team_: '4',
          Name_: '张志芬 - 邹德峰',
          Gain: '198',
          Penalty: '44.20%'
        },
        {
          Group: 'D3-NS',
          Team: '33',
          Name: '杨文瑜-符正平',
          Note: null,
          Ranking: '28',
          Team_: '38',
          Name_: '陈学斌 - 严丽',
          Gain: '195',
          Penalty: '43.53%'
        },
        {
          Group: 'D3-EW',
          Team: '40',
          Name: '陈朗-叶宝辉',
          Note: null,
          Ranking: '29',
          Team_: '36',
          Name_: '原新春 - 尚华',
          Gain: '190.2',
          Penalty: '42.45%'
        },
        {
          Group: 'D4-NS',
          Team: '39',
          Name: '李戎-胡东华',
          Note: null,
          Ranking: '30',
          Team_: '2',
          Name_: '张永革 - 吴志凌',
          Gain: '183',
          Penalty: '40.85%'
        },
        {
          Group: 'D4-EW',
          Team: '34',
          Name: '郑勇-肖黛菁',
          Note: null,
          Ranking: '31',
          Team_: '5',
          Name_: '刘洪文 - 柴俊阳',
          Gain: '180',
          Penalty: '40.18%'
        },
        {
          Group: 'D5-NS',
          Team: '38',
          Name: '陈学斌-严丽',
          Note: null,
          Ranking: '32',
          Team_: '24',
          Name_: '章瑜 - 赵杰',
          Gain: '179',
          Penalty: '39.96%'
        },
        {
          Group: 'D5-EW',
          Team: '35',
          Name: '刘钧-张敏',
          Note: null,
          Ranking: '33',
          Team_: '12',
          Name_: '李立 - 冉红',
          Gain: '177',
          Penalty: '39.51%'
        },
        {
          Group: 'D6-NS',
          Team: '37',
          Name: '鲍卓强-汪慧君',
          Note: null,
          Ranking: '34',
          Team_: '41',
          Name_: '姚江涛 - 杨铭枢',
          Gain: '173',
          Penalty: '38.62%'
        },
        {
          Group: 'D6-EW',
          Team: '36',
          Name: '原新春-尚华',
          Note: null,
          Ranking: '35',
          Team_: '39',
          Name_: '李戎 - 胡东华',
          Gain: '139',
          Penalty: '31.03%'
        }
      ],
      singleItemList: [
        {
          name: '桥牌',
          logo: require('../../assets/img/daily/BR.png'),
          flag: true
        }
      ]
    }
  },
  watch: {},
  computed: {},
  filters: {},
  components: {},
  methods: {}
}
</script>
<style scoped lang="scss">
@import '@/assets/scss/item.scss';
</style>
